import java.io.PrintWriter;

public class App {
    public static void main(String[] args) throws Exception {
        PrintWriter fileout=new PrintWriter("receipt.txt");

        fileout.println("+........................+");
        fileout.println("|                        |");
        fileout.println("|      CORNER STORE      |");
        fileout.println("|                        |");
        fileout.println("| 2014-06-25  04:38PM    |");
        fileout.println("|                        |");
        fileout.println("| Gallons:       12.464  |");
        fileout.println("| Price/gallon: $ 3.459  |");
        fileout.println("|                        |");
        fileout.println("| Fuel total:  $ 43.11   |");
        fileout.println("|                        |");
        fileout.println("+........................+");
        fileout.close();
    }
}